// slice:从已有的数组中返回选定的元素。不改变原数组
let fruits = ["Banana", "Orange", "Lemon", "Apple", "Mango"];
let citrus = fruits.slice(1, 3);

console.log(fruits, citrus);
// [ 'Banana', 'Orange', 'Lemon', 'Apple', 'Mango' ] [ 'Orange', 'Lemon' ]
